package com.cz.cloud.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service1")
public interface UseFeignClient {
	
	@RequestMapping(value="user/userList")
	public String userList(@RequestParam("userName") String userName,@RequestParam("age") int age);

}
